package com.suitsoft.ut.service.commons;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.suitsoft.ut.dao.commons.ExaminationDao;
import com.suitsoft.ut.entity.commons.Examination;

/**
 * 自查表管理 服务层类
 *@author Suineg
 */
@Service
@Transactional
public class ExaminationManager {
	/** 日志输出对象 */
	protected final Logger logger = LoggerFactory.getLogger(getClass());
	@Autowired
	private ExaminationDao dao;
	
	public Examination get(Long id){
		return dao.get(id);
	}
	
	public void save(Examination examination){
		dao.save(examination);
	}

	public void delete(Long id){
		dao.delete(id);
	}
}

